package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "cart")
public class Cart {
    @Id
    @Column(name = "cart_id")
    private Integer cartId;

    @Column(name = "api_id")
    private Integer apiId;

    @Column(name = "customer_id")
    private Integer customerId;

    @Column(name = "session_id")
    private String sessionId;

    @Column(name = "product_id")
    private Integer productId;

    @Column(name = "recurring_id")
    private Integer recurringId;

    private Integer quantity;

    @Column(name = "date_added")
    private Date dateAdded;

    private Integer status;

    /**
     * 套餐信息
     */
    //private String package;

    private String option;
}